public class Names
{
   /**
      Gets the initials of a name.
      @param first the first name of this name
      @param middle the middle name of this name
      @param last the last name of this name
      @return a string consisting of the first character of the first, middle,
      and last name
   */
   public String initials(String first, String middle, String last)
   {
      char[] strArr1 = first.toCharArray();
      char[] strArr2 = middle.toCharArray();
      char[] strArr3 = last.toCharArray();
      return strArr1[0]+""+strArr2[0]+""+strArr3[0];
   }
}